//
//  PBMyInfoHeaderCell.m
//  PBHomeDemo
//
//  Created by Playboy on 2018/1/9.
//  Copyright © 2018年 tmkj. All rights reserved.
//

#import "PBMyInfoHeaderCell.h"

@interface PBMyInfoHeaderCell ()

@property (strong, nonatomic) IBOutlet UIImageView *headerImageView;

@end

@implementation PBMyInfoHeaderCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)refreshWithModel:(PBMyInfoModel *)model {
    [self.headerImageView sd_setImageWithURL:[NSURL URLWithString:model.avatar] placeholderImage:nil];
}

@end
